## need mysql  mongodb  memcache activemq 
FROM java:8
#VOLUME /tmp

ENV mourl 47.105.38.157
ENV moport 50000
ENV dburl jdbc:mysql://47.105.38.157:3306/o2o_user_haoyuan?characterEncoding=UTF-8
ENV dburl2 jdbc:mysql://47.105.38.157:3306/o2o_data_haoyuan?characterEncoding=UTF-8
ENV memcacheurl 47.105.38.157:11211



ADD o2o.jar /o2o.jar
ADD lib /lib
CMD java -jar o2o.jar